/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cinema.client.cinemaclient.model;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 *
 * @author Zsolt Szecsi
 */
public class User {

    @JsonProperty("Id")
    private int id;
    @JsonProperty("Username")
    private String username;
    @JsonProperty("Name")
    private String name;
    @JsonProperty("Password")
    private String password;
    @JsonProperty("Role")
    private String role;

    public User() {
    }

    public User(int id, String name, String username, String password, String role) {
        this.id = id;
        this.name = name;
        this.username = username;
        this.password = password;
        this.role = role;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

}
